package com.fsj.admin.system.service;


import com.fsj.admin.system.domain.ShopWalletRecordsDO;
import com.fsj.admin.system.vo.OrderWalletRecordsVO;

import java.util.List;
import java.util.Map;

/**
 * 商家钱包流水
 *
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-03-14 14:41:12
 */
public interface ShopWalletRecordsService {

    ShopWalletRecordsDO get(Long id);

    List<ShopWalletRecordsDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(ShopWalletRecordsDO shopWalletRecords);

    int update(ShopWalletRecordsDO shopWalletRecords);

    int remove(Long id);

    int batchRemove(Long[] ids);

    List<OrderWalletRecordsVO> orderRecordsByShopId(Map<String, Object> map);

    int countOrderRecords(Map<String, Object> map);

    OrderWalletRecordsVO getShopStatis(Map<String, Object> map);

    OrderWalletRecordsVO getSysStatis(Map<String, Object> map);

    List<OrderWalletRecordsVO> getStatisByDay(Map<String, Object> map);
}
